FROM python:3.7.5

ENV USER zhengb

ARG a=5

USER root

RUN mkdir -p /data

RUN echo "deb http://mirrors.aliyun.com/debian/ buster main non-free contrib \
        \ndeb-src http://mirrors.aliyun.com/debian/ buster main non-free contrib \
        \ndeb http://mirrors.aliyun.com/debian-security buster/updates main \
        \ndeb-src http://mirrors.aliyun.com/debian-security buster/updates main \
        \ndeb http://mirrors.aliyun.com/debian/ buster-updates main non-free contrib \
        \ndeb-src http://mirrors.aliyun.com/debian/ buster-updates main non-free contrib \
        \ndeb http://mirrors.aliyun.com/debian/ buster-backports main non-free contrib \
        \ndeb-src http://mirrors.aliyun.com/debian/ buster-backports main non-free contrib" \
    > /etc/apt/sources.list && \
    apt-get update && \
    apt-get install -y curl telnet unzip vim

WORKDIR /src